<div id="div_wall_editprofile">
	<h3>{p_name} > Edit Profile</h3>
	</br>

	<div id="BasicInformation">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td colspan="3"><strong>Basic Information<br /> <br /> </strong></td>
			</tr>
			<tr>
				<td width="60" valign="top">Profile Name: </td>
				<td colspan="2"><input type="text" name="profilename" id="profilename"
					value="{p_profile_name}" />
				</td>
			</tr>
			<tr>
				<td width="60" valign="top">Name: </td>
				<td colspan="2"><input type="text" name="name" id="name"
					value="{p_name}" />
				</td>
			</tr>
			<tr>
				<td width="100" valign="top">Email:</td>
				<td colspan="2"><input type="text" name="email" id="email"
					value="{p_email}" />
				</td>
			</tr>
			<tr>
				<td width="60" valign="top">Address</td>
				<td colspan="2"><input type="text" name="address" id="address"
					value="{p_address}" />
				</td>
			</tr>

			<tr>
				<td valign="top">Gender</td>
				<td width="166"><select id="gender">
						<!-- START genderoptions -->
						<option value={gender} {optionselected}>{gender}</option>						
						<!-- END genderoptions -->
				</select></td>
				<td>Show in Profile <br />
					<div>
						<input type="radio" name="group1" value="yes" checked /> Yes <input
							type="radio" name="group1" value="no" /> No
					</div></td>
			</tr>

			<tr>
				<td valign="top">Birth Day</td>
				<td><input name="birthday" type="text" value="{p_dob}" id="dob" /></td>
				<td colspan="3" align="center"><select>
						<option>Show my Bitrhday in Profile</option>
						<option>Do not show my birthday in my profile</option>
				</select>
				</td>
			</tr>

			<tr>
				<td valign="top">About me</td>
				<td colspan="2"><textarea cols="30" rows="10" id="about">{p_about}</textarea>
				</td>
			</tr>
			<tr>
				<td colspan="4" valign="top"><br /> <button name="add"
					class="Submitbutton" type="button" id="basicprofileSubmit"
					value="Save" > Save </button></td>
			</tr>
		</table>

	</div>

	<p class="br"></p>

	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="3"><strong>Profile Picure<br /> <br /> </strong></td>
		</tr>
		<tr>
			<td width="59" valign="top">Profile Picture</td>
			<td colspan="2"><img src="{p_photo}" alt="pic" id="profile_pic" width="175px" height="175px"/>
			</td>
			<td>		
			<div id="file-uploader-demo1">		
						
			<img id="photoloading" src="resources/images/default/bigLoader.gif" style="display: none;">
			<form name="form" action="profile/edit" method="POST" enctype="multipart/form-data">
			<table cellpadding="0" cellspacing="0" class="tableForm">
				<thead>
				<tr>
					<th>Please select a file and click Upload button</th>
				</tr>
				</thead>
					<tbody>
						<tr>
							<td><input id="profile_photo" type="file" size="45" name="profile_photo" class="input"></td>
								<input type="hidden" id="section" name="section"
									value="photo" />
						</tr>
					</tbody>
					<tfoot>
					<tr>
						<td><button class="Submitbutton" id="picbuttonUpload"
							type="submit">Upload</button></td>
					</tr>
					</tfoot>

			</table>
			</form>
			</div>
    		</td>
		</tr>
		<tr>
		
		</tr>

	</table>
	<p class="br"></p>

	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="3"><strong>Education and Work <br /> <br /> </strong></td>
		</tr>
		<tr>
			<td width="36%" valign="top">Employer:</td>
			<td width="64%" colspan="2"><input type="text" name="emp" id="emp" value="{p_employer}"/>
			</td>
		</tr>

		<tr>
			<td width="37%" valign="top">College/University:</td>
			<td width="63%"><input type="text" name="uni" id="uni" value="{p_college}" />
			</td>
		</tr>

		<tr>
			<td width="37%" valign="top">High School:</td>
			<td width="63%"><input type="text" name="scol" id="scol" value="{p_highschool}"/>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="left" valign="top"><p>&nbsp;</p>
				<p>
					<label> <button type="submit" name="save" id="profileEduEmp"
						class="Submitbutton" value="Save" /> Save </button></label>
				</p></td>
		</tr>
	</table>
	
	<!-- Enable only for default profiles -->
	{CHANGE_PWD}
	
</div>
<!-- end #wall -->
